From: Colin Walters Date: Tue, 27 Jun 2023 09:27:23 +0000 (-0400) Subject: ci/prow: Build tests before trying to install X-Git-Tag: archive/raspbian/2023.7-3+rpi1~1^2~9^2~1^2~5^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5e2b5aca40ec50be8948f6250223c28374d452da;p=ostree.git ci/prow: Build tests before trying to install Our `install` target doesn't depend on `all` unlike the rpm-ostree version; not doing so is arguably better, so let's explicitly build before installing. --- diff --git a/ci/prow/Dockerfile b/ci/prow/Dockerfile index 156db34d..b72d4719 100644 --- a/ci/prow/Dockerfile +++ b/ci/prow/Dockerfile @@ -2,6 +2,7 @@ FROM registry.ci.openshift.org/coreos/fcos-buildroot:testing-devel as builder WORKDIR /src COPY . . RUN env CONFIGOPTS=--with-composefs ./ci/build.sh && make install DESTDIR=/cosa/component-install +RUN make -C tests/kolainst RUN make -C tests/kolainst install DESTDIR=/cosa/component-tests # Uncomment this to fake a build to test the code below #RUN mkdir -p /cosa/component-install/usr/bin && echo foo > /cosa/component-install/usr/bin/foo